Total Complexity | 43 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 303 |
Lines of code | 156 |
Logical lines of code | 94 |
Comment lines | 108 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
gutenberg_build_template_result_from_post() | 47 | 7 | 35 | |
gutenberg_build_template_result_from_file() | 51 | 6 | 23 | |
gutenberg_inject_theme_attribute_in_content() | 53 | 6 | 22 | |
gutenberg_flatten_blocks() | 56 | 5 | 20 | |
create_new_block_template_object() | 57 | 4 | 15 | |
supports_block_templates() | 65 | 5 | 9 | |
gutenberg_get_template_paths() | 62 | 3 | 11 | |
convert_slug_to_title() | 69 | 2 | 6 | |
theme_has_template() | 74 | 2 | 4 | |
theme_has_template_part() | 74 | 2 | 4 | |
generate_template_slug_from_path() | 68 | 1 | 7 |